//
//  ORSimpleItem.m
//  OR_1
//
//  Created by Luboš Kulič on 10/15/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "ORSimpleItem.h"


@implementation NSString (ORSimpleItem)

-(NSUInteger) numberOfValues {
	return 0;
}

-(NSString *) dataItemType {
	// should never be called
	return @"ORSimpleItemType"; 
}


-(NSUInteger) numberOfDescriptionItems {
	return 1;
}

-(NSString *) descriptionWithIndex:(id)index{
	return self;
}

-(id<DataItem>) valueWithIndex:(id)index {
	return 0;
}

-(NSString *) itemType {
	return DataItemTypeSimple;	
}

@end
